package com.jh.paymentchannel.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonFormat;

@Entity
@Table(name="t_sdj_register")
public class SDJRegister implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="id")
	private long id;
	
	@Column(name="user_id")
	private long userId;
	
	@Column(name="bank_card")
	private String bankCard;
	
	@Column(name="sdj_user_id")
	private String sdjUserId;
	
	
	@Column(name="merkey")
	private String merKey;
	
	
	@Column(name="t1_rate")
	private String t1Rate;
	
	
	@Column(name="t0_rate")
	private String t0Rate;
	
	//商户简称
	@Column(name="short_name")
	private String shortName;
	
	//公司类型
	@Column(name="company_type")
	private String companyType;
	
	//注册资本
	@Column(name="registered_capital")
	private String registeredCapital;
	
	//成立日期
	@Column(name="creation_date")
	private String creationDate;
	
	//营业执照编号
	@Column(name="business_licenseno")
	private String businessLicenseno;
	
	//省
	@Column(name="province")
	private String province;
	
	//市
	@Column(name="city")
	private String city;
	
	
	
	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getCompanyType() {
		return companyType;
	}

	public void setCompanyType(String companyType) {
		this.companyType = companyType;
	}

	public String getRegisteredCapital() {
		return registeredCapital;
	}

	public void setRegisteredCapital(String registeredCapital) {
		this.registeredCapital = registeredCapital;
	}

	public String getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}

	public String getBusinessLicenseno() {
		return businessLicenseno;
	}

	public void setBusinessLicenseno(String businessLicenseno) {
		this.businessLicenseno = businessLicenseno;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name="create_time")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	
	@Column(name="update_time")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

	
	
	public String getMerKey() {
		return merKey;
	}

	public void setMerKey(String merKey) {
		this.merKey = merKey;
	}

	public String getT1Rate() {
		return t1Rate;
	}

	public void setT1Rate(String t1Rate) {
		this.t1Rate = t1Rate;
	}

	public String getT0Rate() {
		return t0Rate;
	}

	public void setT0Rate(String t0Rate) {
		this.t0Rate = t0Rate;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getBankCard() {
		return bankCard;
	}

	public void setBankCard(String bankCard) {
		this.bankCard = bankCard;
	}

	public String getSdjUserId() {
		return sdjUserId;
	}

	public void setSdjUserId(String sdjUserId) {
		this.sdjUserId = sdjUserId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	
	
}
